package com.yungu.swift.system.sys.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.sys.model.dto.SysRoleResourceDto;
import com.yungu.swift.system.sys.model.param.AdminRoleResourceAddParam;


/**
 * SysRoleResourceService
 **/

public interface SysRoleResourceService extends BaseService<SysRoleResourceDto> {

    /**
     * 角色分配资源
     *
     * @param roleResourceAddParam
     * @return
     */
    ResponseData<Boolean> assignResource(AdminRoleResourceAddParam roleResourceAddParam);
}